package DCSource.Size.Default.Byte;
import DCSource.Size.Template.Size;
import DCSource.Size.Template.SizeForm;

public class ExaByte implements SizeForm{
	private Size value = new Size(0,7);
	public ExaByte(){}
	public ExaByte(double value){
		this.value.setValue(value);
	}
	public double getValue(){
		return this.value.getValue();
	}
	public ExaByte setValue(double value){
		this.value.setValue(value);
		return this;
	}
	public double getIndex(){
		return this.value.getIndex();
	}
	public ExaByte add(double value){
		this.value.add(value);
		return this;
	}
	public ExaByte multi(double value){
		this.value.multi(value);
		return this;
	}
	public ExaByte sub(double value){
		this.value.sub(value);
		return this;
	}
	public ExaByte div(double value){
		this.value.div(value);
		return this;
	}
	public ExaByte pow(double value){
		this.value.pow(value);
		return this;
	}
	public ExaByte nsqrt(double value){
		this.value.nsqrt(value);
		return this;
	}
	public double getPower(){
		return this.value.getOrginsPower();
	}
	public ExaByte undoPower(){
		this.value.undoPower();
		return this;
	}
	public String getName(){
		return "Exabyte";
	}
	public String getTag(){
		return "Eb";
	}
	public String toString(){
		return this.value.getValue()+this.getTag();
	}
}
